package com.example.gulimall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 存储主启动类
 *  1.开启nacos注册&扫描&管理
 *  2.开启feign远程调用操作
 * @author GuLin
 * @date 9:51 2021/5/27
 **/
@EnableFeignClients("com.example.gulimall.ware.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class GulimallWareApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallWareApplication.class, args);
    }

}
